﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：OAuthStatus.cs
// 功能描述：TongTongMall.Oauth2.0
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TongTongMall.Oauth2._0.Server
{
    public class OAuthStatus
    {
        /// <summary>
        /// 授权token错误
        /// </summary>
        public const string Token_Invalid = "oauth.token_invalid";

        /// <summary>
        /// 刷新令牌过期
        /// </summary>
        public const string RefreshToken_Expire = "oauth.refreshToken_expire";
        
        /// <summary>
        /// 授权令牌过期
        /// </summary>
        public const string AccessToken_Expire = "oauth.accessToken_expire";

        /// <summary>
        /// 用户信息发生变化
        /// </summary>
        public const string UserInfo_Change = "user.userInfo_change";
    }
}
